if(NOT DEFINED PRODUCT_VERSION_MAJOR)
    set(PRODUCT_VERSION_MAJOR 0)
endif()

if(NOT DEFINED PRODUCT_VERSION_MINOR)
    set(PRODUCT_VERSION_MINOR 0)
endif()

if(NOT DEFINED PRODUCT_VERSION_PATCH)
    set(PRODUCT_VERSION_PATCH 0)
endif()

if(NOT DEFINED PRODUCT_VERSION_BUILD)
    set(PRODUCT_VERSION_BUILD 0)
endif()